package com.whu.waterworks.model;

import javax.persistence.Column;
import javax.persistence.Embeddable;


/**
 * TWaterplantdataId entity. @author MyEclipse Persistence Tools
 */
@Embeddable

public class TWaterplantdataId  implements java.io.Serializable {


    // Fields    

     private String waterPlantNum;
     private String time;


    // Constructors

    /** default constructor */
    public TWaterplantdataId() {
    }

    
    /** full constructor */
    public TWaterplantdataId(String waterPlantNum, String time) {
        this.waterPlantNum = waterPlantNum;
        this.time = time;
    }

   
    // Property accessors

    @Column(name="时间", nullable=false)

    public String getTime() {
    	return time;
    }


    public void setTime(String time) {
    	this.time = time;
    }   

    @Column(name="水厂编号", nullable=false)
    public String getWaterPlantNum() {
    	return waterPlantNum;
    }


    public void setWaterPlantNum(String waterPlantNum) {
    	this.waterPlantNum = waterPlantNum;
    }
}